package com.njupt.sso.service;

import com.njupt.common.pojo.TaotaoResult;
import com.njupt.pojo.TbUser;

/**
 * @Author: XJL
 * @Description:
 * @Date: Create in 20:50 2018/6/3
 * @Modified By:
 **/
public interface UserService {

    TaotaoResult checkData(String data,int type);

    TaotaoResult registerUser(TbUser tbUser);

    TaotaoResult login(String username,String password);

    TaotaoResult getUserByToken(String token);

    TaotaoResult logout(String token);
}
